﻿@model JT.Domain.GeneralLedger
@{
    ViewData["Title"] = "ZongZhangEdit";
}

<h1>ZongZhangEdit</h1>


<hr />
<div class="row">
    <div class="col-md-4">
        <form asp-action="ZongZhangEdit">
            <div asp-validation-summary="ModelOnly" class="text-danger"></div>
            <input type="hidden" asp-for="Id" />
            <input type="hidden" asp-for="SummaryId" value="@Model.SummaryId  " />
            <div class="form-group">
                <label asp-for="GLName" class="control-label"></label>
                <input asp-for="GLName" class="form-control" />
                <span asp-validation-for="GLName" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="Detail" class="control-label"></label>
                <input asp-for="Detail" class="form-control" />
                <span asp-validation-for="Detail" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="DebitAmount" class="control-label"></label>
                <input asp-for="DebitAmount" class="form-control" />
                <span asp-validation-for="DebitAmount" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="CreditAmount" class="control-label"></label>
                <input asp-for="CreditAmount" class="form-control" />
                <span asp-validation-for="CreditAmount" class="text-danger"></span>
            </div>
            <div class="form-group">

                <input type="submit" value="保存" class="btn btn-outline-success" />
            </div>
        </form>
    </div>
</div>

<div>
    <a asp-action="ZhaiYaoManage">返回列表</a>
</div>

@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}

